@import './mixin.scss';
//覆盖一些element-ui样式

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-table--enable-row-transition .el-table__body td {
  border: none !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.form_margin_l_node .el-form-item__content {
  margin-left: 0 !important;
}

.el-upload__input {
  display: none;
}

.el-table {
  tr {
      th {
          background: #EFF2FA !important;
      }
  }
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

.el-table__body-wrapper {
  @include scrollBar;
}

.el-dialog__header {
  border-bottom: 1px solid #e7e7e7;
  padding: 15px 20px;
}